import { http } from '@/common/https.js'
/**
 * 添加/编辑方法
 * @param {string} url 接口路径
 * @param {string} method 请求方式
 * @param {object} data 表单参数
*/
export const submitFormApi = (url, method, data,custid) => {
  return http({
    url,
    method,
    data,
	custid
  })
}

// 查询附件信息
export const getFileInfoApi = (data) => {
  return http({
    url: '/logistics/attachment/list',
    method: 'get',
    data
  })
}

// 删除附件信息
export const deleteFileInfoApi = (id) => {
  return http({
    url: '/logistics/attachment/' + id,
    method: 'delete'
  })
}